.PopoverContent {
  will-change: transform, opacity;

  z-index: var(--zindex-drop-menu);
  top: 0;
  left: 0;

  /* width: 260px; */
  padding: 12px;

  background-color: var(--color-dark-500);
  border: 1px solid var(--color-dark-100);
  border-radius: 4px;
  box-shadow:
    hsl(206deg 22% 7% / 35%) 0 10px 38px -10px,
    hsl(215deg 11% 70% / 20%) 0 10px 20px -15px;

  animation-duration: 400ms;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.PopoverContent:focus {
  box-shadow:
    hsl(206deg 22% 7% / 35%) 0 10px 38px -10px,
    hsl(206deg 22% 7% / 20%) 0 10px 20px -15px;
}

.PopoverContent:focus-visible {
  outline: none;
}

.PopoverContent[data-state='open'][data-side='top'] {
  animation-name: slideDownAndFade;
}

.PopoverContent[data-state='open'][data-side='right'] {
  animation-name: slideLeftAndFade;
}

.PopoverContent[data-state='open'][data-side='bottom'] {
  animation-name: slideUpAndFade;
}

.PopoverContent[data-state='open'][data-side='left'] {
  animation-name: slideRightAndFade;
}

.PopoverArrow {
  fill: var(--color-light-100);
}

.PopoverClose {
  position: absolute;
  top: 5px;
  right: 5px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 25px;
  height: 25px;

  font-family: inherit;
  color: var(--color-primary-900);

  border-radius: 100%;
}

.PopoverClose:hover {
  background-color: var(--color-primary-500);
}

.PopoverClose:focus {
  box-shadow: 0 0 0 2px var(--color-primary-700);
}

.IconButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 35px;
  height: 35px;

  font-family: inherit;
  color: var(--color-primary-100);

  background-color: var(--color-light-100);
  border-radius: 100%;
  box-shadow: 0 2px 10px var(--color-dark-300);
}

.IconButton:hover {
  background-color: var(--color-primary-100);
}

.IconButton:focus {
  box-shadow: 0 0 0 2px var(--color-dark-900);
}

.Fieldset {
  display: flex;
  gap: 20px;
  align-items: center;
}

.Label {
  width: 75px;
  font-size: 13px;
  color: var(--color-primary-900);
}

.Input {
  display: inline-flex;
  flex: 1;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 25px;
  padding: 0 10px;

  font-size: 13px;
  line-height: 1;
  color: var(--color-primary-900);

  border-radius: 4px;
  box-shadow: 0 0 0 1px var(--color-primary-700);
}

.Input:focus {
  box-shadow: 0 0 0 2px var(--color-primary-100);
}

.Text {
  margin: 0;

  font-size: 15px;
  font-weight: 500;
  line-height: 19px;
  color: var(--color-light-900);
}
